package com.psjj.privilege.po;

public class Privilege {
    /**
     * 权限主键
     */
    private Integer mid;
    /**
     * 菜单名字
     */
    private String menuname;
    /**
     * 菜单的访问路径
     */
    private String url;
    /**
     * 父级菜单id
     */
    private Integer pid;

    public Integer getMid() {
        return mid;
    }

    public void setMid(Integer mid) {
        this.mid = mid;
    }

    public String getMenuname() {
        return menuname;
    }

    public void setMenuname(String menuname) {
        this.menuname = menuname;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    @Override
    public String toString() {
        return "Privilege{" +
                "mid=" + mid +
                ", menuname='" + menuname + '\'' +
                ", url='" + url + '\'' +
                ", pid=" + pid +
                '}';
    }
}
